SMS pres NOKIA 7650 - pokracovani

Otázka od: Pavel Z.

3. 8. 2004 11:34

Tak jsem to vyzkousel v hyperterminalu

 

ja: AT+CMGS=22 OK

MODEM: > OK

TY: 0011000B912470423313F30000A70970B9DD9D064D9B53 vrati >

TY: CTRL+Z (#26) stisknu ctrl+Z

MODEM: +CMGS: zz tohle preskoci a zobrazi rovnou OK

MODEM: OK

 

Ten dlouhy retezec je zakodovana SMS pomoci Text2pdu1, predpokladam vcetne
SMSC a cisla prijemce.

 

Poradite ?

 

Diky

P.

 

-----Original Message-----
From: delphi-l-owner@clexpert.cz [mailto:delphi-l-owner@clexpert.cz] On
Behalf Of Tomas Rosa
Sent: Monday, August 02, 2004 10:38 PM
To: delphi-l@clexpert.cz
Subject: Re: SMS pres NOKIA 7650

 

 

>com.ATCommand('AT+CMGS='+pdu[2]+#13+pdu[1]+#26);

>

>tady to neprobehne ok

 

odpoved uz tu nekolikrat byla -

 

MUSIS POCKAT NA REAKCI MODEMU

 

konkretne:

 

TY: AT+CMGS=xxx

MODEM: >

TY: 0071000C9124707777279600F5FF4.....01

TY: CTRL+Z (#26)

MODEM: +CMGS: zz

MODEM: OK

 

kde XXX je delka PDU (bez hlavicky ohledne SMSC & spol) a ZZ je ID kterou

modem teto SMSce pridelil (pro parovani dorucenky).

 

 

 

 

 

                                        S pozdravem

                                                Tomas Rosa

 

------------------------=[ pinknet on every screen]=-----------------------

Tomas Rosa

Tomas.Rosa@PinkNet.cz http://www.pnws.org

+420 602 860 704

PinkNet Web Server for Win32 - FREEWARE www.pnws.org
---------------------------------------------------------------------------
 
 
 
 


Odpovedá: Tomas Rosa

3. 8. 2004 12:17


>
>ja: AT+CMGS=22 OK
>
>MODEM: > OK
>
>TY: 0011000B912470423313F30000A70970B9DD9D064D9B53 vrati >
>
>TY: CTRL+Z (#26) stisknu ctrl+Z
>
>MODEM: +CMGS: zz tohle preskoci a zobrazi rovnou OK

toto se da nastavit, zda-li to modem ma, ci nema posilat. Netusim uz jakym
AT prikazem, pro kazdy modem se to trosku lisi.
Konkretne pro N7110 pouzivam toto:

AT &F Z E0 +CNMI=2,2,0,1,0;+CMGF=0;+CMEE=1;+CLIP=1;+CRC=1;+CCWA=1

>MODEM: OK
>
>
>
>Ten dlouhy retezec je zakodovana SMS pomoci Text2pdu1, predpokladam vcetne
>SMSC a cisla prijemce.

ano, v PDUcku je zakodovane cislo prijemce.

Posilam ti kus logu jak probiha odesilani SMS (bacha, odesila se to z
Oskara a je nazacatku zakodovano cislo SMS centra. Muzes to ale useknout a
poslat bez toho (zacatek bude 0011 namisto 079124608000651811).

> posilam JA modemu
< posila modem ME

2004-08-03 13:12:11 25469 * Sending text SMS
2004-08-03 13:12:11 25469 * Dest: 777777269
2004-08-03 13:12:11 25469 * Text: trosa:Ahoj jak se mas? Toto je pokus
na SMSku.
2004-08-03 13:12:11 25469 * DS: No
2004-08-03 13:12:11 25469 *** Sending PDU SMS:
07912460800065181100098177777762F90000AB2E74F97B1ED605D16F35481D5E83E665503B3CFF81A86FFA1BA42E83E0EF757D0E728741D3E6745D7701
2004-08-03 13:12:11 25469 *** PDU-len = 62 octets
2004-08-03 13:12:11 25469 *** SCA-len = 8 octets
2004-08-03 13:12:11 25469 *** DATA = 54 octets
2004-08-03 13:12:13 25469 > AT+CMGS=54
2004-08-03 13:12:15 25469 < >
2004-08-03 13:12:18 25469 >
07912460800065181100098177777762F90000AB2E74F97B1ED605D16F35481D5E83E665503B3CFF81A86FFA1BA42E83E0EF757D0E728741D3E6745D7701
2004-08-03 13:12:19 25469 *** Cekam na +CMGS...
2004-08-03 13:12:20 25469 < +CMGS: 232
2004-08-03 13:12:20 25469 * msgref=232
2004-08-03 13:12:20 25469 *** Cekam na +CMGS...
2004-08-03 13:12:20 25469 < OK
2004-08-03 13:12:20 25469 * SMS successfuly sent via gateway 5 with msgref=232




                                        S pozdravem
                                                Tomas Rosa

------------------------=[ pinknet on every screen]=-----------------------
Tomas Rosa
Tomas.Rosa@PinkNet.cz http://www.pnws.org
+420 602 860 704
PinkNet Web Server for Win32 - FREEWARE www.pnws.org
---------------------------------------------------------------------------


Odpovedá: Ing. Radek Tomsik

3. 8. 2004 15:32

No ale to delas porad spatne, musi to byt takto:

TY: AT+CMGS=22
MODEM: >
TY: 0011000B912470423313F30000A70970B9DD9D064D9B53
TY: CTRL+Z (#26) stisknes ctrl+Z
MODEM: +CMGS: nejake ID

Radek

-----Original Message-----
From: delphi-l-owner@clexpert.cz [mailto:delphi-l-owner@clexpert.cz] On
Behalf Of Pavel Z.
Sent: Tuesday, August 03, 2004 12:23 PM
To: delphi-l@clexpert.cz
Subject: SMS pres NOKIA 7650 - pokracovani

Tak jsem to vyzkousel v hyperterminalu

ja: AT+CMGS=22 OK

MODEM: > OK

TY: 0011000B912470423313F30000A70970B9DD9D064D9B53 vrati >

TY: CTRL+Z (#26) stisknu ctrl+Z

MODEM: +CMGS: zz tohle preskoci a zobrazi rovnou OK

MODEM: OK